package com.rinlink.jbcodec.transform;

import java.nio.ByteBuffer;

public class BytesToShort extends BytesToNumber<Short> {

    public BytesToShort(ByteBuffer byteBuffer, String byteOrder) {
        super(byteBuffer,byteOrder);
    }

    @Override
    public Short transform() {
        return getByteBuffer().getShort();
    }
}
